package com.niit.az;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

public class MainInterface extends AppCompatActivity {


    String Tag = "com.niit.broadcastReceiver";

    private ImageView iv_courseManager;
    private ImageView iv_menorandum;
    private ImageView iv_unknow;
    private ImageView iv_picture;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_interface);

        iv_courseManager = findViewById(R.id.iv_course_manager);
        iv_menorandum = findViewById(R.id.iv_memorandum);
        iv_unknow = findViewById(R.id.iv_unknow);
        iv_picture = findViewById(R.id.iv_picture);

        iv_courseManager.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent myIntent=new Intent(MainInterface.this,CourseManage.class);
                startActivity(myIntent);
            }
        });

        iv_menorandum.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent myIntent=new Intent(MainInterface.this,Memorandum.class);
                startActivity(myIntent);
            }
        });

        iv_picture.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent myIntent=new Intent(MainInterface.this,BannerPicture.class);
                startActivity(myIntent);
            }
        });

        iv_unknow.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent myIntent=new Intent(MainInterface.this,Unknow.class);
                startActivity(myIntent);
            }
        });
    }


}